package com.ebook.entity;

public class BookReadData {
    private Integer readId;
    private Integer bookId;
    private Integer userId;
    private Integer category;
    private Integer page;

    public BookReadData() {
    }

    public BookReadData(Integer readId, Integer bookId, Integer userId, Integer category, Integer page) {
        this.readId = readId;
        this.bookId = bookId;
        this.userId = userId;
        this.category = category;
        this.page = page;
    }

    public Integer getReadId() {
        return readId;
    }

    public void setReadId(Integer readId) {
        this.readId = readId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return "BookReadData{" +
                "readId=" + readId +
                ", bookId=" + bookId +
                ", userId=" + userId +
                ", category=" + category +
                ", page=" + page +
                '}';
    }
}
